Optimal Computation of all Repetitions in a Weighted String
نویسندگان
چکیده
A repetition in a string of letters consists of exact concatenations of identical factors of the string. Crochemore’s repetitions algorithm, usually also referred to as Crochemore’s partitioning algorithm, was introduced in 1981, and was the first optimal O(n log n)-time algorithm to compute all repetitions in a string of length n. A weighted string is a string in which a set of letters may occur at each position with respective probabilities of occurrence. In this article, we present a new variant of Crochemore’s partitioning algorithm for weighted strings, which requires optimal time O(n log n), thus improving on the best known O(n2)-time algorithm for computing all repetitions in a weighted string of length n.
منابع مشابه
Optimization of Brain Tumor MR Image Classification Accuracy Using Optimal Threshold, PCA and Training ANFIS with Different Repetitions
Background: One of the leading causes of death is brain tumors. Accurate tumor classification leads to appropriate decision making and providing the most efficient treatment to the patients. This study aims to optimize brain tumor MR images classification accuracy using optimal threshold, PCA and training Adaptive Neuro Fuzzy Inference System (ANFIS) with different repetitions.Material and Meth...
متن کاملComputing Periodicities in Strings — A New Approach
The most efficient methods currently available for the computation of repetitions or repeats in a string x = x[1..n] all depend on the prior computation of a suffix tree/array STx/SAx. Although these data structures can be computed in asymptotic Θ(n) time, nevertheless in practice they involve significant overhead, both in time and space. Since the number of repetitions/repeats in x can be repo...
متن کاملLarge-scale detection of repetitions.
Combinatorics on words began more than a century ago with a demonstration that an infinitely long string with no repetitions could be constructed on an alphabet of only three letters. Computing all the repetitions (such as ∙∙∙TTT ∙∙∙ or ∙∙∙ CGACGA ∙∙∙ ) in a given string x of length n is one of the oldest and most important problems of computational stringology, requiring time in the worst case...
متن کاملOptimization of the brain tumor MR images classification accuracy using the optimal threshold, PCA and training ANFIS with different repetitions
Introduction: One of the leading causes of death among people is brain tumors. Accurate tumor classification leads to appropriate decision-making and providing the most efficient treatment to the patients. This study aims to optimize of the brain tumor MR images classification accuracy using the optimal threshold, PCA and training Adaptive Neuro Fuzzy Inference System (ANFIS) w...
متن کاملOPTIMAL SHAPE DESIGN OF GRAVITY DAMS BASED ON A HYBRID META-HERURISTIC METHOD AND WEIGHTED LEAST SQUARES SUPPORT VECTOR MACHINE
A hybrid meta-heuristic optimization method is introduced to efficiently find the optimal shape of concrete gravity dams including dam-water-foundation rock interaction subjected to earthquake loading. The hybrid meta-heuristic optimization method is based on a hybrid of gravitational search algorithm (GSA) and particle swarm optimization (PSO), which is called GSA-PSO. The operation of GSA-PSO...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014